The ==snippets== are reusable dices that aren’t tied to a specific character or model. They can be created and used by the users to simply frequents dice roll without needing to configure a model.
The statistics aren’t taken into account in the snippets as they aren’t tied to a character. However, the attributes are.
The attributs can be used in a snippet as long as the snippet has been already saved.
Snippets creation
/user_config snippets create [name] [dice]
name: name of the snippetdice: Dice roll expression (ex :1d20+5)
If the snippet already exist, it’ll be updated to it’s new value

Suppression
/user_config snippets delete [*name]
*name: name of the snippet to delete
Allow to delete a snippet off the list.

Snippet list
/user_config snippets lister
Show the list of snippets for the user

Export snippets
/user_config snippets export
Allows to export all the snippets from the user in a JSON file to save or share them.

Import snippets
Importe des snippets depuis un fichier JSON. Cela permet de transférer ou partager facilement des données entre différents serveurs ou comptes. Import snippets from a JSON file. This allows easy sharing or transfer of data between servers or accounts.
/user_config snippets import [file] (?erase)
file: Data JSON of the snippets to import.?erase: Replace the existing data instead of fusing them.
The data will be fused by default. If two snippets have the same name, the new imported snippet with the name will replace the previous one.
During import, snippets will be verified and only the conforms ones will be added.
